package cn.iocoder.yudao.module.dr.controller.admin.journal.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 期刊信息新增/修改 Request VO")
@Data
public class JournalSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1874")
    private Long ywid;

    @Schema(description = "期刊名称", example = "王五")
    private String journalName;

    @Schema(description = "期刊编号")
    private String journalCode;

    @Schema(description = "ISSN/ISBN")
    private String sn;

    @Schema(description = "出版社")
    private String journalFrom;

    @Schema(description = "语言")
    private String language;

    @Schema(description = "出版频率")
    private String frequency;

    @Schema(description = "文件路径")
    private String file;

    @Schema(description = "卷号")
    private String volumeNumber;

    @Schema(description = "期号")
    private String issue;

    @Schema(description = "期刊发行时间")
    private String publishYear;

    @Schema(description = "页码范围")
    private String pageRange;

    @Schema(description = "期刊来源")
    private String source;

    @Schema(description = "期刊状态 0 在库 1 使用者", example = "2")
    private Integer status;

    @Schema(description = "订购来源")
    private String orderSource;

    @Schema(description = "订购日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime orderTime;

    @Schema(description = "期刊发行地点")
    private String position;

    @Schema(description = "访问链接", example = "https://www.iocoder.cn")
    private String webUrl;

    @Schema(description = "主图", example = "https://www.iocoder.cn")
    private String mainImage;

    @Schema(description = "主题分类")
    private String topicType;


    @Schema(description = "期刊发行内容")
    private String content;

    @Schema(description = "期刊作者")
    private String author;

}